import Vue from 'vue'
import {
  NavBar, Form, Cell, List, ActionSheet,
  Field, Button, Icon, PullRefresh,
  Tabbar, TabbarItem, Tabs, Tab, Dialog,
  Popup, Row, Col, Badge, Search, Divider,
  Tag, CellGroup, Image, DatetimePicker, Lazyload
} from 'vant'

const array = [
  NavBar, Form, Cell, List, ActionSheet,
  Field, Button, Icon, PullRefresh,
  Tabbar, TabbarItem, Tabs, Tab, Dialog,
  Popup, Row, Col, Badge, Search, Divider,
  Tag, CellGroup, Image, DatetimePicker, Lazyload
]

array.forEach(Component => Vue.use(Component))
